home *** CD-ROM | disk | FTP | other *** search
- Path: hpscit.sc.hp.com!news
- From: Claus Brod <clausb@bbn.hp.com>
- Newsgroups: comp.graphics.api.opengl,comp.lang.c++
- Subject: Re: Watcom C++ and OpenGL
- Date: Thu, 14 Mar 1996 09:38:28 +0100
- Organization: Hewlett-Packard GmbH
- Message-ID: <3147DB04.19F4@bbn.hp.com>
- References: <4i4l9g$bj9@lilja.vtt.fi>
- NNTP-Posting-Host: hpbeo79.bbn.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.07 9000/770)
-
- Mikko Kiviranta wrote:
- > I tried building the sample program from the WinNT SDK online
- > documentation (a sample ported from X-Windows) but I got a
- > lot of "undefined symbol" errors from the linker. The header
- > files gl.h, glu.h and glaux.h are where they belong but in the
- > libraries directory there are only glu32.lib and glaux.lib. Am I
- > missing a library file corresponding to gl.h? If so where do I get
- > one?
- >
- > All the error messages referred to symbol names beginning with
- > "gl" or "wgl" (like wglCreateContext or glPushMatrix) which fact
- > supports the missing-library theory.
-
- The library you're looking for is opengl32.lib. I'm using Visual C++
- right now, and it comes with this library. I also found a DLL version
- of this library in my WINNT32\system32 directory.
-
- --clausb@bbn.hp.com------------------------------------------------------
- Claus Brod, MDD, HP Boeblingen Have you hugged your manager today?
- --#include <std_disclaimer>---------http://hpbmdd28.bbn.hp.com/~clausb --
- Explicit permission required for distribution in Microsoft Network.
-